x86: fix s3 resume on AMD CPUs
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 16 Jun 2009 13:19:34 +0000 (14:19 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 16 Jun 2009 13:19:34 +0000 (14:19 +0100)
commitc133cc38e21d21f36ae62685e7e64d3e07542814
tree3b36b0780eaf83e39e8e7b37a6acd26c328e97f5
parent50f27130b5c3fe5f5f6c7faaf500f6fe5521b8b9
x86: fix s3 resume on AMD CPUs

Avoid longjmp as it has different semantics than on Intel CPUs in long
mode. Also add a few comments and remove a pointless reload of DS.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir.fraser@eu.citrix.com>
xen/arch/x86/acpi/wakeup_prot.S
xen/arch/x86/boot/wakeup.S